package com.oneday.ashop.core.entity;

/**
 * Created by qk on 2015/7/22.
 */
public class CommonConstant {
    // 账户名为：邮箱地址
    public static final Integer MAIL_ACCOUNT = 1;

    // 账户名为：手机号码
    public static final Integer TEL_ACCOUNT = 2;

    // 上传图片路径
    public static final Integer IMAGE_PATH = 1;

    // 上传文件路径
    public static final Integer FILE_PATH = 2;

    // 上传图片最大字节数(10M)
    public static final long IMAGE_MAX_SIZE = 10485760;

    // 上传文件最大字节数(20M)
    public static final long FILE_MAX_SIZE = 20971520;

    // 搜索的热门书籍数量
    public static final Integer HOT_BOOK_NUM = 100;

    // 搜索的推荐书籍数量
    public static final Integer REC_BOOK_NUM = 100;

    // 搜索的热门评论数量
    public static final Integer HOT_COMMENTS_NUM = 100;

    // 图书首页显示热门书籍数量
    public static final Integer SHOW_HOT_BOOK_NUM = 10;

    // 图书首页显示推荐图书数量
    public static final Integer SHOW_REC_BOOK_NUM = 12;

    // 图书首页显示热门评论数量
    public static final Integer SHOW_HOT_COMMENTS_NUM = 10;
}
